/*
 * @Author: your name
 * @Date: 2021-05-03 16:20:31
 * @LastEditTime: 2021-05-07 20:13:49
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \vue01d:\HTML001\布局小技巧\飞机\飞机.js
 */


const body = document.getElementById("a")

setInterval(function(){
    const x= parseInt(Math.random())*1200
    const fy = document.createElement("div")
    fy.className = "fy"
    fy.style.left = Math.random()*1200+"px"
    fy.style.top = Math.random()*100+"px"
    console.log(fy.style.top)
    body.appendChild(fy)
}, 300);









